SVC: Selector-based View Composition for Web Frameworks
نویسندگان
چکیده
We present Selector-based View Composition (SVC), a new programming style for web application development. Using SVC, a developer defines a web page as a series of transformations on an initial state. Each transformation consists of a selector (used to select parts of the page) and an action (used to modify content matched by the selector). SVC applies these transformations on either the client or the server to generate the complete web page. Developers gain two advantages by programming in this style. First, SVC can automatically add Ajax support to sites, allowing a developer to write interactive web applications without writing any JavaScript. Second, the developer can reason about the structure of the page and write code to exploit that structure, increasing the power and reducing the complexity of code that manipulates the page’s content. We introduce SVC as a stateless, framework-agnostic development style. We also describe the design, implementation and evaluation of a prototype, consisting of a PHP extension using the WebKit browser engine [37] and a plugin to the popular PHP MVC framework Code Igniter [8]. To illustrate the general usefulness of SVC, we describe the implementation of three example applications consisting of common Ajax patterns. Finally, we describe the implementation of three post-processing filters and compare them to currently existing solutions.
منابع مشابه
Capacitor Only SVC Voltage Control Algorithm
Executive Summary In addition to the research and experimentation need to understand the basic control features of an SVC, much effort was also expended on learning the Matlab simulation software. While the Matlab SimPowerSystems and Simulink libraries contain many easily recognizable built-in control blocks, learning how each block worked required careful study and much experimentation. Even t...
متن کاملImproving the performance of client Web object retrieval
The growth of the Internet has generated Web pages that are rich in media and that incur significant rendering latency when accessed through slow communication channels. The technique of Web-object prefetching can potentially expedite the presentation of Web pages by utilizing the current Web page’s view time to acquire the Web objects of likely future Web pages. The performance of the Web obje...
متن کاملMetrics for Web Programming Frameworks
Many languages and techniques exist under the umbrella of programming. Web development comprises a small subset of the whole. Without JavaScript, CSS, HTML, Databases like MySQL, and several server side languages such as PHP, the internet would be far less user friendly. Since a vast amount of code is duplicated between projects, web application frameworks were born. Some of these frameworks ar...
متن کاملQoS-Based web service composition based on genetic algorithm
Quality of service (QoS) is an important issue in the design and management of web service composition. QoS in web services consists of various non-functional factors, such as execution cost, execution time, availability, successful execution rate, and security. In recent years, the number of available web services has proliferated, and then offered the same services increasingly. The same web ...
متن کاملAutomatic QoS-aware Web Services Composition based on Set-Cover Problem
By definition, web-services composition works on developing merely optimum coordination among a number of available web-services to provide a new composed web-service intended to satisfy some users requirements for which a single web service is not (good) enough. In this article, the formulation of the automatic web-services composition is proposed as several set-cover problems and an approxima...
متن کامل